<h4 class="sets_play">Playing <%=h @fset.name %><span class="wscore"><%= @game.wrong_count %></span><span class="rscore"><%= @game.score %></span></h4>

<script type="text/javascript" charset="utf-8">
	function flip () {
		// flip the card
		Effect.SwitchOff('question');
		Effect.Grow('answer', { delay: 0.5 });
		Effect.toggle('flip');
		Effect.toggle('gotit');
	}
</script>
<div>
<div class="play_page">
    <div id="question">
  		<p><%=h @flashcard.question %></p>
	</div>
	<div id="answer" style="display:none">
  		<p><%=h @flashcard.answer %></p>
	</div>

</div>
<div class="controls">
	
	<a href="#" id="flip" class="flip" onclick="flip()"></a>
	<div id="gotit" style="display:none" >	<% form_for(@game,  :url => correct_fset_game_url(@fset,
		@game), :html=> {:method=>:post, :id=>:bob}) do |f| %>
		  <%= f.error_messages %>
			<%= f.submit "", { :class => 'right', :onclick => "this.disabled='true'" } %>
		<% end %> 
		<% form_for(@game,  :url => wrong_fset_game_url(@fset,
		@game), :html=> {:method=>:post}) do |f| %>
		  <%= f.error_messages %>
			<%= f.submit "", { :class => 'wrong', :onclick => "this.disabled='true'" } %>
		<% end %></div>
</div>
</div>



